package com.ruoyi.system.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

/**
 * 微信号表
 * @author admin
 *
 */
public class WxCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 微信ID */
    private Long wxId;

    /** 微信名 */
    private String wxName;
    
    /** 微信号 */
    private String wxCode;
    
    /** appId */
    private String appId;
    
    /** appSecret */
    private String appSecret;
    
    /** 创建时间 */
    private Date createAt;

	/** access_token */
	private String accessToken;

	/** expires_in */
	private Integer expiresIn;

	/** errMsg */
	private String errMsg;

	/** errcode */
	private Integer errCode;

	/** get_time */
	private Date getTime;

    public Long getWxId() {
		return wxId;
	}

	public void setWxId(Long wxId) {
		this.wxId = wxId;
	}

	public String getWxName() {
		return wxName;
	}

	public void setWxName(String wxName) {
		this.wxName = wxName;
	}

	public String getWxCode() {
		return wxCode;
	}

	public void setWxCode(String wxCode) {
		this.wxCode = wxCode;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public Integer getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(Integer expiresIn) {
		this.expiresIn = expiresIn;
	}

	public Date getGetTime() {
		return getTime;
	}

	public void setGetTime(Date getTime) {
		this.getTime = getTime;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public Integer getErrCode() {
		return errCode;
	}

	public void setErrCode(Integer errCode) {
		this.errCode = errCode;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wxId", getWxId())
            .append("wxName", getWxName())
            .append("wxCode", getWxCode())
            .append("appId", getAppId())
            .append("appSecret", getAppSecret())
            .append("createAt", getCreateAt())
			.append("accessToken", getAccessToken())
			.append("expiresIn", getExpiresIn())
			.append("errCode", getErrCode())
			.append("errMsg", getErrMsg())
			.append("getTime", getGetTime()).toString();
    }
}
